package com.javachmapi.pay.modules.admin.entity;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 订单表(Orders)实体类
 *
 * @author 宋利军
 * @since 2020-07-18 18:12:14
 */
@Data
@ApiModel(value = "Orders实体类", description = "Orders实体类")
public class Orders implements Serializable {

    private static final long serialVersionUID = 432502501958968997L;
    
        
    @ApiModelProperty(value = "${column.comment}", dataType="String")
    private String id;
    
    /**
    * 订单号
    */    
    @ApiModelProperty(value = "订单号", dataType="String")
    private String orderNum;
    
    /**
    * 订单状态
            10：待付款
            20：已付款
    */    
    @ApiModelProperty(value = "订单状态 10：待付款 20：已付款", dataType="String")
    private String orderStatus;
    
    /**
    * 订单金额
    */    
    @ApiModelProperty(value = "订单金额", dataType="String")
    private String orderAmount;
    
    /**
    * 实际支付金额
    */    
    @ApiModelProperty(value = "实际支付金额", dataType="String")
    private String paidAmount;
    
    /**
    * 产品表外键ID
    */    
    @ApiModelProperty(value = "产品表外键ID", dataType="String")
    private String productId;
    
    /**
    * 产品购买的个数
    */    
    @ApiModelProperty(value = "产品购买的个数", dataType="Integer")
    private Integer buyCounts;
    
    /**
    * 订单创建时间
    */    
    @ApiModelProperty(value = "订单创建时间", dataType="Date")
    private Date createTime;
    
    /**
    * 支付时间
    */    
    @ApiModelProperty(value = "支付时间", dataType="Date")
    private Date paidTime;
    

}